package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 手机壳投屏内容库对象 pc_screen_content
 * 
 * @author ruoyi
 */
public class PcScreenContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 内容ID */
    @Excel(name = "内容ID", cellType = Excel.ColumnType.NUMERIC)
    private Long contentId;

    /** 用户ID */
    @Excel(name = "用户ID", cellType = Excel.ColumnType.NUMERIC)
    private Long userId;

    /** 内容类型（0图片 1文字） */
    @Excel(name = "内容类型", readConverterExp = "0=图片,1=文字")
    private String contentType;

    /** 图片地址 */
    private String imageUrl;

    /** 文字内容 */
    private String textContent;

    /** 显示模式（0固定 1轮播） */
    @Excel(name = "显示模式", readConverterExp = "0=固定,1=轮播")
    private String displayMode;

    /** 轮播间隔（秒） */
    @Excel(name = "轮播间隔", cellType = Excel.ColumnType.NUMERIC)
    private Integer rotateInterval;

    /** 排序顺序 */
    @Excel(name = "排序顺序", cellType = Excel.ColumnType.NUMERIC)
    private Integer sortOrder;

    /** 状态（0正常 1删除） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=删除")
    private String status;

    public void setContentId(Long contentId) 
    {
        this.contentId = contentId;
    }

    public Long getContentId() 
    {
        return contentId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setContentType(String contentType) 
    {
        this.contentType = contentType;
    }

    public String getContentType() 
    {
        return contentType;
    }

    public void setImageUrl(String imageUrl) 
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl() 
    {
        return imageUrl;
    }

    public void setTextContent(String textContent) 
    {
        this.textContent = textContent;
    }

    public String getTextContent() 
    {
        return textContent;
    }

    public void setDisplayMode(String displayMode) 
    {
        this.displayMode = displayMode;
    }

    public String getDisplayMode() 
    {
        return displayMode;
    }

    public void setRotateInterval(Integer rotateInterval) 
    {
        this.rotateInterval = rotateInterval;
    }

    public Integer getRotateInterval() 
    {
        return rotateInterval;
    }

    public void setSortOrder(Integer sortOrder) 
    {
        this.sortOrder = sortOrder;
    }

    public Integer getSortOrder() 
    {
        return sortOrder;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("contentId", getContentId())
            .append("userId", getUserId())
            .append("contentType", getContentType())
            .append("imageUrl", getImageUrl())
            .append("textContent", getTextContent())
            .append("displayMode", getDisplayMode())
            .append("rotateInterval", getRotateInterval())
            .append("sortOrder", getSortOrder())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}

